<template>
	<div>路由一</div> 
	<div>{{name}}</div>
	<div>{{age}}</div>
	<a-button type="primary">按钮1</a-button>
</template>
<script lang="ts" setup>
import {useStore} from 'vuex'
import {onMounted,ref} from 'vue'
let store=useStore()
let name=ref(store.state.name)
let age=ref(store.state.age)
onMounted(()=>{
	
})


</script>
<style scoped></style>